import lejos.nxt.Button;
import MULE.Bewegungsmodul.Engine;
import MULE.Bewegungsmodul.util.EngineParameter;


public class TESTEngine {

	public EngineParameter params = new EngineParameter(360, 12.55, 5.6, 1/48, 'A', 'B');
	public Engine getriebe = new Engine(params);

	public static void main(String[] args) {
		TESTEngine test = new TESTEngine();
		Button.waitForPress();
		System.out.println("Running forward");
		while(!Button.ENTER.isPressed()){
			test.getriebe.forward();
		}
		
		System.out.println("Running backward");
		while(!Button.ENTER.isPressed()){
			test.getriebe.backward();
		}
		
		System.out.println("stop running");
		Button.waitForPress();
	}

}
